import Vue from 'vue'
import App from './App.vue'
import router from './routers/index';
// elementUI 导入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "../public/static/css/reset.css";
import axios from "axios";
import settings from "./settings";
import '../public/static/js/gt.js'
import store from './store/index';
import VueVideoPlayer from 'vue-video-player';
import 'video.js/dist/video-js.css'; // 引入 video.js 的样式

Vue.use(VueVideoPlayer);

// 调用插件
Vue.use(ElementUI);

// 设置axios的默认行为，表示在发送请求时不附带cookie
axios.defaults.withCredentials = false;

Vue.config.productionTip = false
// 把对象挂载到vue中
Vue.prototype.$axios = axios
// 配置HOST
Vue.prototype.$settings = settings
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
